import request from "@/service/request.ts";

/**
 * 修改绑定课程介绍
 */
const linkImg = (query: any) => {
    return request({
        url: "/course/course/img",
        method: "post",
        data: query
    });
};

/**
 * 修改绑定课程介绍
 * @param query
 */
const editLinkImg = (query: any) => {
    return request({
        url: "/course/course/img",
        method: "put",
        data: query
    });
};

export {
    linkImg,
    editLinkImg,
};
